<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Add Story</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/common.js"></script>
<script type="text/javascript" src="../Public/js/kindeditor/kindeditor.js"></script>
<script type="text/javascript" src="../Public/js/kindeditor/lang/zh_CN.js"></script>
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="content"]', {
		allowFileManager : true,
		resizeType: 0
		});
		K('input[name=getHtml]').click(function(e) {
			document.getElementsByName("content").value = editor.html();
		});	
	});
</script>
</head>
<body>
<div id="right_font"><img src="../Public/images/main/main_14.gif"
	alt="" /> 您现在所在的位置：<a href="__GROUP__/Index/main" target="mainFrame">首页</a> → 动态资讯  → <span
	class="bfont">{$navi}</span></div>
<div id="info_main">
	<div id="info_main_img"><img
		src="../Public/images/main/main_14.gif" alt="" /><span
		class="adminfont">&nbsp;&nbsp;{$title}</span></div>	
	<form method="post" enctype="multipart/form-data" action="addStory">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr>
				<td width="17%" height="25" id="member_info_base_td">故事正文标题：</td>
				<td width="33%"><input type="text" name="title" style ="width:300px" />
					<span class="member_info_notice">(*,20字以内,必填)</span>
				</td>
			</tr>
			<tr>
				<td width="17%" height="25" id="member_info_base_td">资讯类型：</td>
				<td><select name="type">
						<option value="成功晒客">成功晒客</option>
					</select>
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">故事男主角：</td>
				<td><input type="text" name="male" style="width:200px" />
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">故事女主角：</td>
				<td><input type="text" name="female" style="width:200px" />
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">发布时间：</td>
				<td><input type="text" name="ann_time" onfocus="HS_setDate(this)" style="width:200px" />
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">故事配图：</td>
				<td><input type="file" name="image" id="image"/></td>
			</tr>
			<tr>
				<td id="member_info_base_td">结婚纪念日：</td>
				<td><input type="text" name="anniversary" onfocus="HS_setDate(this)" style="width:200px" />
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">故事简介：</td>
				<td><input type="text" name="intro" style="width:400px" /><span style="color:#f00"> *不超过30个字</span>
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">故事状态：</td>
				<td><select name="state">
						<option value="1">可用</option>
						<option value="0">不可用</option>
					</select>
				</td>
			</tr>
			<tr>
				<td id="member_info_base_td">故事正文内容：</td>
				<td><textarea name="content" style="width:900px;height:300px;"></textarea></td>
			</tr>
		</table>
	<div id="member_info_submit">
		<input type="image" name="getHtml" src="../Public/images/main/modify_submit.gif"
			onmouseover="this.src='../Public/images/main/modify_submit_2.gif'" 
			onmouseout="this.src='../Public/images/main/modify_submit.gif'" 
			alt="提交"/> 
		<img src="../Public/images/main/modify_reset.gif" 
			onmouseover="this.src='../Public/images/main/modify_reset_2.gif'" 
			onmouseout="this.src='../Public/images/main/modify_reset.gif'" 
			onclick="location.reload()" style="cursor: pointer;" 
			alt="重置"/>
	</div>
	</form>	
</div>	

</body>
</html>